﻿#ifndef APPMONITORLOG_H
#define APPMONITORLOG_H

#include "common.h"

#define APP_MONITOR_LOG_ACTION_RESTART "restart"
#define APP_MONITOR_LOG_ACTION_KILL_WHEN_MEM_OVERLOAD "killed because of mem overload"

class AppMonitorLog
{
public:
    AppMonitorLog();

    AppMonitorLog(QString & appName, QString & action, QString time);

    long id;

    QString appName;

    QString action;

    QString time;

    int isSuccess;

    QString failReason;

};

#endif // APPMONITORLOG_H
